/**
 * Copyright:  Copyright (c) 2013
 *
 * @FileName		: DistributionDAOImpl.java
 * @PageName		: 물류 DAOImpl 파일
 * @Date			: 오전 11:28:41
 * @LastModifier	: 최경민
 * @LastModifyDate	: 
 * @LastModifier	: 
 * Change history	:
 */
package com.pulp.distribution.dao.impl;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

import org.springframework.orm.ibatis.support.SqlMapClientDaoSupport;

import com.pulp.distribution.dao.DistributionDAO;

/**
 * @author 최경민
 * 
 */
public class DistributionDAOImpl extends SqlMapClientDaoSupport implements DistributionDAO {

	/*
	 * (non-Javadoc)
	 * 
	 * @see com.pulp.distribution.dao.DistributionDAO#getRawMaterialYear()
	 */
	@Override
	public List getRawMaterialYear() {
		Map args = new HashMap();
		return getSqlMapClientTemplate().queryForList("distrib.RawMaterialYear", args);
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see com.pulp.distribution.dao.DistributionDAO#getRawMaterialMonth()
	 */
	@Override
	public List getRawMaterialMonth() {
		Map args = new HashMap();
		return getSqlMapClientTemplate().queryForList("distrib.RawMaterialMonth", args);
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see com.pulp.distribution.dao.DistributionDAO#getRawMaterialDate()
	 */
	@Override
	public List getRawMaterialDate() {
		Map args = new HashMap();
		return getSqlMapClientTemplate().queryForList("distrib.RawMaterialDate", args);
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see com.pulp.distribution.dao.DistributionDAO#getFabricMaterialYear()
	 */
	@Override
	public List getFabricMaterialYear() {
		Map args = new HashMap();
		return getSqlMapClientTemplate().queryForList("distrib.FabricMaterialYear", args);
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see com.pulp.distribution.dao.DistributionDAO#getFabricMaterialMonth()
	 */
	@Override
	public List getFabricMaterialMonth() {
		Map args = new HashMap();
		return getSqlMapClientTemplate().queryForList("distrib.FabricMaterialMonth", args);
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see com.pulp.distribution.dao.DistributionDAO#getFabricMaterialDate()
	 */
	@Override
	public List getFabricMaterialDate() {
		Map args = new HashMap();
		return getSqlMapClientTemplate().queryForList("distrib.FabricMaterialDate", args);
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see com.pulp.distribution.dao.DistributionDAO#getFabricProductYear()
	 */
	@Override
	public List getProductInventoryYear() {
		Map args = new HashMap();
		return getSqlMapClientTemplate().queryForList("distrib.FabricProductYear", args);
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see com.pulp.distribution.dao.DistributionDAO#getFabricProductMonth()
	 */
	@Override
	public List getProductInventoryMonth() {
		Map args = new HashMap();
		return getSqlMapClientTemplate().queryForList("distrib.FabricProductMonth", args);
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see com.pulp.distribution.dao.DistributionDAO#getFabricProductDate()
	 */
	@Override
	public List getProductInventoryDate() {
		Map args = new HashMap();
		return getSqlMapClientTemplate().queryForList("distrib.FabricProductDate", args);
	}

}
